@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import 'element-ui-variables';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
    Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: ' ';
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
}

//搜索框
.filter-container {
  .filter-block {
    min-width: 300px;
    display: inline-block;
    height: 56px;
    line-height: 56px;
    span {
      min-width: 80px;
      text-align: right;
      font-size: 14px;
      color: $--color-text-regular;
      display: inline-block;
    }
    > div {
      width: 177px;
    }
  }
  .filter-btn-area {
    min-width: 300px;
    display: inline-block;
    height: 56px;
    line-height: 56px;
    > button {
      margin: 0 10px;
    }
  }

  .ope-btn-area {
    position: relative;
    right: -8px;
    text-align: right;
    line-height: 60px;
    &::after {
      content: '';
      display: block;
      clear: both;
    }

    > button {
      margin: 0 8px;
    }
  }
}

//自定义清除按钮样式
.el-button--none {
  color: $--color-primary;
  border: 1px solid $--color-primary;
}

.table-ope-btn-around {
  display: flex;
  justify-content: space-around;
}

.align-left {
  text-align: left;
}
.link {
  color: $--color-primary;
  cursor: pointer;
}

.ele-form-label {
  font-weight: 700;
  width: 140px;
  text-align: left;
  float: left;
  //display: inline-block;
  vertical-align: top;
  font-size: 14px;
  color: $--color-text-regular;
  line-height: 40px;
  padding: 0 12px 0 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.ele-form-content {
  line-height: 40px;
  position: relative;
  font-size: 14px;
  float: left;

  color: $--color-text-regular;
}

.edit-title-line {
  background: #f2f2f2;
  height: 38px;
  line-height: 38px;
  border-radius: 3px;
  text-indent: 1em;
  font-size: 15px;
  margin: 18px 0;
}

.edit-body {
  padding: 27px 0;
  .el-form-item {
    margin-bottom: 20px;
  }
}

.normal-form-item {
  width: 400px;
  display: inline-block;
}
.width-250 {
  width: 250px !important;
}
.width-400 {
  width: 400px;
}

.ele-form-item {
  display: inline-block;
  width: 400px;
  &::after {
    content: '';
    display: block;
    clear: both;
  }
}
.ele-form-line {
  &::after {
    content: '';
    display: block;
    clear: both;
  }
}

.photo-preview {
  width: 150px;
  height: 200px;
  display: block;
  background: #f2f2f2;
  border-radius: 6px;
}

.import-tip {
  padding: 0 50px;
  line-height: 32px;
}
.import-tip-success {
  @extend .import-tip;
  color: $--color-primary;
}

.import-tip-fail {
  @extend .import-tip;
  color: $--color-danger;
}

.ele-form-tip {
  font-size: 14px;
  color: $--color-text-secondary;
}

.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.el-tooltip__popper.is-light {
  border: 1px solid #cbcbcb;
}
.el-tooltip__popper.is-light[x-placement^='right'] .popper__arrow {
  border-right-color: #cbcbcb;
}


.el-upload-list--picture-card .el-upload-list__item {
  overflow: unset;
}
.el-upload-list--picture-card .el-upload-list__item-name {
  display: block;
  text-align: center;
}
.el-icon-document {
  display: none;
}
.el-upload-list__item-name {
  margin-right: unset;
  text-align: center;
}
.el-upload--picture-card {
  background-color: unset;
  border: unset;
  border-radius: unset;
  box-sizing: unset;
  width: unset;
  height: unset;
  cursor: unset;
  line-height: unset;
  vertical-align: unset;
}
.el-dialog__footer {
  text-align: center;
}
.ele-form-content {
  .batchUpload-button {
    display: flex;
    flex: 1;
    justify-content: center;
    text-align: center;
    margin: 20px auto;
    position: absolute;
    left: 0;
  }
}
.el-upload-list--picture-card {
  display: inline;
  width: 100%;
  vertical-align: top;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.el-upload-list--picture-card .el-upload-list__item {
  margin: 0 40px 40px 0;
  width: 100px;
}
.el-upload-list__item-name:hover {
  overflow: auto;
  white-space: unset;
  text-overflow: unset;
  z-index: 999 !important;
}
.el-upload-list__item:hover {
  z-index: 999 !important;
}
.batchUpload-success {
  color: #02b2b5;
}
.batchUpload-fail {
  color: #f00;
}



.issued-status-dialog {
  width: 100%;
  height: 100%;
  min-width: 600px;
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  .el-dialog {
     margin-top: unset !important;
     max-height: 86vh;
     width: 66vw;
     overflow-y: auto;
    //position: relative;
  }
  .el-dialog__footer{
    //position: absolute;
    //left: calc(50% - 35px);
    //bottom: 20px;
    //padding: unset !important;
  }
}

.face-open-btn {
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


